<nav class="navbar-default navbar-static-side" role="navigation">
	<div class="nav-close"><i class="fa fa-times-circle"></i>
	</div>
	<div class="sidebar-collapse">
		<ul class="nav" id="side-menu">
			<li class="nav-header">
				<div class="dropdown profile-element">
					<a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                                    <span class="block m-t-xs" style="font-size:20px;">
                                        <i class="fa fa-area-chart"></i>
                                        <strong class="font-bold">管理后台</strong>
                                    </span>
                                </span>
					</a>
				</div>
				<div class="logo-element">Yii2-cms</div>
			</li>
			<li>
				<a class="J_menuItem" href="/admin/default/index">
					<i class="fa fa-home"></i>
					<span class="nav-label">主页</span>
				</a>
			</li>
			<?php foreach ($menuList as $k => $v): ?>
			<li <?php if (\app\constants\Acl::isActive($v['action'], $acl)):?>class="active" <?php endif;?>>
				<a href="#">
					<?=\app\widgets\IconWidget::widget(['powType' => $v['acl']]);?>
					<span class="nav-label"><?=$v['name'];?></span>
					<span class="fa arrow"></span>
				</a>
				<ul class="nav nav-second-level">
					<?php foreach ($v['sub'] as $kk => $vv): ?>
						<li <?php if ($vv['acl'] == $acl):?>class="active" <?php endif;?>>
							<a class="J_menuItem" href="<?=$vv['url'];?>"><?=$vv['name'];?></a>
						</li>
					<?php endforeach;?>
				</ul>
			</li>
			<?php endforeach;?>
		</ul>
	</div>
</nav>
